
const TdtKey = '35b6d71d2630c03a174e26641b34ddc9';//天地图数据服务Key

/**地图左上角-功能启动图标按钮-初始化控制**/
/**标记说明**/
/*
 1代表layerShow = true,//图层控制-功能启动图标按钮，默认false不显示
 2代表measureShow = true,//测量工具-功能启动图标按钮，默认false不显示
 3代表decorateShow = true; //地图整饰-功能启动图标按钮，默认false不显示
 4代表attrQueryPanelShow = true; //属性查询-功能启动图标按钮
 5代表geometryQueryPanelShow = true; //几何空间查询-功能启动图标按钮
 6代表bufferAnalystPanelShow = true; //缓冲区分析-功能启动图标按钮
 7代表heatMapAnalystPanelShow = true; //热力图-功能启动图标按钮
 8代表clusterLayerPanelShow = true; //聚类图-功能启动图标按钮
 9代表thiessenAnalystPanelShow = true; //泰森多边形分析-功能启动图标按钮
 */
const mapCtrlTools = {
    //地图1-开发案例
    "map1":[1,2,3,4,5,6,7,8,9],
    //地图2-开发案例
    //"map2":[1,2,3,5,7,11,12],
    //mh同学的底图配置信息
    "mh":[1,2,3],
    //history页面的底图配置
    "history":[1,2,3,4,5,6],
    //local页面的底图配置
    "local":[1,2,3,4,5,6,7,8,9],
    //custom页面的底图配置
    "custom":[1,2,3,7,8,9],
    //snack页面的底图配置
    "snack":[1,2,3,4,5,6,7,8],
    //dish页面的底图配置
    "dish":[1,2,3,4,5,6,7],
    //attractions页面的底图配置
    "attractions":[1,2,3,4,8,9],
    //weather页面的底图配置
    "weather":[1,2,3],
    //route页面的底图配置
    "route":[1,2,3],
    //choose页面的底图配置
    "choose":[1,2,3],
};

/**各页面要显示的图层信息**/
//注意：顺序有影响，同一种类别，从下到上显示
const layersDataByFilter = {
    //(测试)地图1
    "map1": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"MapDocTileLayer", //注：必选项，需指定图层加载类型，例如：MapDocTileLayer, Doc, TileLayer, GdbpLayer
            srcType:"Zondy", //提示：MapGIS类型的服务目前暂且都用这个标识
            mUrl:"", //提示：MapGIS类型的服务在这里暂时用不到，留空即可
            mTitle:"赣南dish", //注：必选项，用于在图层管理面板上显示
            mName:"gn_dish", //注：必选项，IGServer上发布的实际名称 //注：GdbpLayer类型时，要为数组类型（支持多元素），例如 ['gdbp://MapGisLocal/sample/ds/地图综合/sfcls/水系','gdbp://MapGisLocal/sample/ds/地图综合/sfcls/水系']
            //mName:['gdbp://MapGisLocal/KJ_ZHONG/sfcls/赣南名菜'], //注：必选项，IGServer上发布的实际名称 //注：GdbpLayer类型时，要为数组类型（支持多元素），例如 ['gdbp://MapGisLocal/sample/ds/地图综合/sfcls/水系','gdbp://MapGisLocal/sample/ds/地图综合/sfcls/水系']
            mIP:"jlu3s.com", //注：必选项，IGServer的域名或IP
            mPort:"7035", //注：必选项，IGServer服务端口，默认值6163，有时候注意端口映射
            mProjection:"EPSG:3857", //注：必选项，地图坐标系，一般为EPSG:4326或EPSG:3857，本项目主要用3857
            mExtent:[12680206.554277513,2812952.111504088,12984878.80503216,3141822.257129459], /*注意：为数组类型（本项目为3857坐标）；地图文档数据时为可选项，但GdbpLayer类型时必须有，否则会导致浏览器崩溃*/
            mVisible:true, //初始化时是否可见，默认true可见
        },
        {
            lyrType:"GdbpLayer", //注：必选项，需指定图层加载类型，例如：MapDocTileLayer, Doc, TileLayer, GdbpLayer
            srcType:"Zondy", //提示：MapGIS类型的服务目前暂且都用这个标识
            mUrl:"", //提示：MapGIS类型的服务在这里暂时用不到，留空即可
            mTitle:"赣南gdbp图层(Test)", //注：必选项，用于在图层管理面板上显示
            //mName:"gn_dish", //注：必选项，IGServer上发布的实际名称 //注：GdbpLayer类型时，要为数组类型（支持多元素），例如 ['gdbp://MapGisLocal/sample/ds/地图综合/sfcls/水系','gdbp://MapGisLocal/sample/ds/地图综合/sfcls/水系']
            mName:['gdbp://MapGisLocal/KJ_ZHONG/sfcls/赣南','gdbp://MapGisLocal/KJ_ZHONG/sfcls/赣南名菜','gdbp://MapGisLocal/KJ_ZHONG/sfcls/唐朝中叶至北宋末年'], //注：必选项，IGServer上发布的实际名称 //注：GdbpLayer类型时，要为数组类型（支持多元素，且先下后上，即先面后点才不被覆盖），例如 ['gdbp://MapGisLocal/sample/ds/地图综合/sfcls/水系','gdbp://MapGisLocal/sample/ds/地图综合/sfcls/水系']
            mIP:"jlu3s.com", //注：必选项，IGServer的域名或IP
            mPort:"7035", //注：必选项，IGServer服务端口，默认值6163，有时候注意端口映射
            mProjection:"EPSG:3857", //注：必选项，地图坐标系，一般为EPSG:4326或EPSG:3857，本项目主要用3857
            mExtent:[12680206.554277513,2812952.111504088,12984878.80503216,3141822.257129459], /*注意：为数组类型（本项目为3857坐标）；地图文档数据时为可选项，但GdbpLayer类型时必须有，否则会导致浏览器崩溃*/
            mVisible:true, //初始化时是否可见，默认true可见
        },

    ],
    //(测试)地图1
    "mh": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },

        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanXiaoChi/rest/maps/%E5%B0%8F%E5%90%83@jiangxi?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南小吃",
            mName:"赣南小吃",
            mVisible:false
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/%E8%B5%A3%E5%8D%97%E8%A1%8C%E6%94%BF%E4%BA%A4%E9%80%9A%E5%92%8C%E5%9C%B0%E5%BD%A2",
            mTitle:"赣南地理环境",
            mName:"GanNanDiLiWeiZhi",
            mVisible:true
        },
    ],
//history页面
    "history": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        //【图层组】客家历史五次大迁移
        {
            lyrType: "Group",
            //srcType:"Group",
            mTitle: "客家迁移图层组",
            mVisible: true,
            mSubLayers: [
                {
                    lyrType:"Tile",
                    srcType:"TileSuperMapRest",
                    mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy1",
                    mTitle:"客家第1次迁移",
                    mName:"QianYi",
                    mVisible:true
                },
                {
                    lyrType:"Tile",
                    srcType:"TileSuperMapRest",
                    mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy2",
                    mTitle:"客家第2次迁移",
                    mName:"QianYi",
                    mVisible:false
                },
                {
                    lyrType:"Tile",
                    srcType:"TileSuperMapRest",
                    mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy3",
                    mTitle:"客家第3次迁移",
                    mName:"QianYi",
                    mVisible:false
                },
                {
                    lyrType:"Tile",
                    srcType:"TileSuperMapRest",
                    mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy4",
                    mTitle:"客家第4次迁移",
                    mName:"QianYi",
                    mVisible:false
                },
                {
                    lyrType:"Tile",
                    srcType:"TileSuperMapRest",
                    mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/qy5",
                    mTitle:"客家第5次迁移",
                    mName:"QianYi",
                    mVisible:false
                },
                {
                    lyrType:"Tile",
                    srcType:"TileSuperMapRest",
                    mUrl:"http://122.9.33.105:8090/iserver/services/map-KJLS5QY/rest/maps/kejiaqianyi",
                    mTitle:"五次大迁移概览",
                    mName:"QianYi",
                    mVisible:false
                },
            ]
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://jlu3s.com:7030/iserver/services/map-QianYi/rest/maps/kejiaqianyi",
            mTitle:"五次大迁移概览",
            mName:"QianYi",
            mVisible:false
        },
    ],
    //local页面
    "local": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南客家土特产",
            mName:"GanNanKeJiaTuTeChan",
            mVisible:true
        }
    ],
    //custom页面
    "custom": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaMinSu/rest/maps/mingsu?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南客家民俗",
            mName:"GanNanMinSu",
            mVisible:true
        }
    ],
    //snack页面
    "snack": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaXiaoChiunknownZhong/rest/maps/xiaochi?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南客家小吃",
            mName:"GanNanXiaoChi",
            mVisible:true
        }
    ],
    //dish页面
    "dish": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanMingCai/rest/maps/gannanmingcai?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南客家名菜",
            mName:"GanNanMingCai",
            mVisible:true
        }
    ],
    //attractions页面
    "attractions": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanJingDian/rest/maps/gannanjingdian?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南景点",
            mName:"GanNanJingDian",
            mVisible:true
        }
    ],
    //weather页面
    "weather": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/gannanxingzheng?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南地理环境",
            mName:"GanNanDiLiWeiZhi",
            mVisible:true
        }
    ],
    //route页面
    "route": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/gannanxingzheng?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南地理环境",
            mName:"GanNanDiLiWeiZhi",
            mVisible:true
        }
    ],
    //choose页面
    "choose": [
        //【图层组】天地图服务
        {
            lyrType:"Group",
            //srcType:"Group",
            mTitle:"天地图服务",
            mVisible:true,
            mSubLayers:[
                //天地图路网
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"路网",
                    mName:"路网",
                    mVisible:false
                },
                //天地图卫星影像
                {
                    lyrType:"Tile",
                    srcType:"XYZ",
                    mUrl:"https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk="+TdtKey,
                    mTitle:"卫星",
                    mName:"卫星",
                    mVisible:true
                },
                // //天地图文字标注
                {
                    lyrType: "Tile",
                    srcType: "XYZ",
                    mUrl: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=" + TdtKey,
                    mTitle: "文字标注",
                    mName: "文字标注",
                    mVisible: true
                },
            ],
        },
        {
            lyrType:"Tile",
            srcType:"TileSuperMapRest",
            mUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanDiLiWeiZhi/rest/maps/gannanxingzheng?prjCoordSys=%7B%22epsgCode%22:3857%7D",
            mTitle:"赣南地理环境",
            mName:"GanNanDiLiWeiZhi",
            mVisible:true
        }
    ],


};

//（各页面）地图配参数配置
const mapParams = {
    //(测试)地图1
    "map1": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //mh页面
    "mh": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
//history页面
    "history": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [114.17218,27.5877], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 5, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //local页面
    "local": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //custom页面
    "custom": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //snack页面
    "snack": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //dish页面
    "dish": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //attractions页面
    "attractions": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //weather页面
    "weather": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //route页面
    "route": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },
    //choose页面
    "choose": {
        projection: 'EPSG:3857', //注意：必须加上此投影才能显示地图，目前有效的是4326和3857，而4490暂未生效
        center: [115.231,25.835], //①地图组件已用"ol/proj/fromLonLat"做转化，此处请直接填经纬度；②针对【赣南地区】:基于3837投影为[12831318, 2979850]，基于经纬度大致为[115.231,25.835]
        minZoom: 4, //可以缩小的最小级别；若此处未定义，地图接收到undefined则表示不受限制
        maxZoom: 18, //可以放大的最大级别；若此处未定义，地图接收到undefined则表示不受限制
        zoom: 8, //地图初始化时显示级别；注意：若此处未定义，地图初始化显示不出来
        myZoomExtent:[12680206,2812952,12984878,3141822],//地图复位的时候用到
    },

};

//（各页面）空间查询条件（主要影响信息窗口）
const spatialQueryConditions={
    //map1测试页面
    "map1": [
        {
            queryUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan-2/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
            //,layerName:"土特产@土特产"
            //,attributeFilter:"SmUserID=0"
            //,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
            //,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
            //,imgSrcKey:""
            ,keyField1:"类型"   //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
            ,keyField2:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
            ,mouseEventType:"pointermove"  //click单击，或pointermove悬浮，或dblclick双击；等等；若不指定则无法弹出信息窗口
        },
        /*{
         queryUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan-2/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
         ,layerName:"土特产@土特产"
         ,attributeFilter:"SmUserID=0"
         ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
         ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
         ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
         ,imgSrcKey:""
         ,mouseEventType:"click"  //click单击，或pointermove悬浮，或dblclick双击；等等；若不指定则无法弹出信息窗口
         },
         {
         queryUrl:"http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan-2/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
         ,layerName:"土特产_1_1@土特产"
         ,attributeFilter:"SmUserID=0"
         ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
         ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
         ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
         ,imgSrcKey:""
         },*/
    ],
    "local": [
        {
            queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
            ,layerName:"土特产@土特产"
            //,layerName:"ttc@TTC"
            ,attributeFilter:"SmUserID=0"
            ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
            ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
            ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
            ,mouseEventType:"click"  //click单击，或pointermove悬浮，或dblclick双击；等等；若不指定则无法弹出信息窗口
        }
    ],
    "custom": [
        {
            queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaMinSu/rest/maps/mingsu?prjCoordSys=%7B%22epsgCode%22:3857%7D"
            ,layerName:"民俗@客家民俗"
            ,attributeFilter:"SmUserID=0"
            ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
            ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
            ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
            ,mouseEventType:"click" //click单击，或pointermove悬浮，或dblclick双击；等等；若不指定则无法弹出信息窗口
        }
    ],
    "dish": [
        {
            queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanMingCai/rest/maps/gannanmingcai?prjCoordSys=%7B%22epsgCode%22:3857%7D"
            ,layerName:"赣南名菜@赣南"
            ,attributeFilter:"SmUserID=0"
            ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
            ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
            ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
            ,mouseEventType:"click"
        }
    ],
    "snack": [
        {
            queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanKeJiaXiaoChiunknownZhong/rest/maps/xiaochi?prjCoordSys=%7B%22epsgCode%22:3857%7D"
            ,layerName:"小吃@客家小吃"
            ,attributeFilter:"SmUserID=0"
            ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
            ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
            ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
            ,mouseEventType:"click"
        }
    ],
    "attractions": [
        {
            queryUrl:"http://122.9.33.105:8090/iserver/services/map-GanNanJingDian/rest/maps/gannanjingdian?prjCoordSys=%7B%22epsgCode%22:3857%7D"
            ,layerName:"景点@赣南景点_1"
            ,attributeFilter:"SmUserID=0"
            ,dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
            ,featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
            ,keyField:"名称"  //和下面featurePics配置的值相对应（这里是字段，下面featurePics填字段的具体值）
            ,mouseEventType:"click"
        }
    ],

};

//附件图片
// 说明：先这样弄着，后续放到数据库中通过接口来获取
const featurePics=[
    //map1试验
    ["客家菜","赣南小炒鱼",[
        "http://jlu3s.com:7037/Kejia/ttc/banya.jpg",
        "http://jlu3s.com:7037/Kejia/ttc/banya1.jpeg",
    ]],

//local图片
    [1,"南安板鸭",[
        "http://jlu3s.com:7037/Kejia/ttc/banya.jpg",
        "http://jlu3s.com:7037/Kejia/ttc/banya1.jpeg",
    ]],
    [2,"兴国灰鹅",[
        "http://jlu3s.com:7037/Kejia/ttc/huie (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/huie (2).jpg"
    ]],
    [3,"信丰萝卜",[
        "http://jlu3s.com:7037/Kejia/ttc/luob (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/luob (2).jpg",
    ]],
    [4,"赣南脐橙",[
        "http://jlu3s.com:7037/Kejia/ttc/qicheng (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/qicheng (2).jpg"
    ]],
    [5,"会昌米粉",[
        "http://jlu3s.com:7037/Kejia/ttc/mifen (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/mifen (2).jpg",
    ]],
    [6,"瑞金咸鸭蛋",[
        "http://jlu3s.com:7037/Kejia/ttc/xianyadan (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/xianyadan (2).jpg",
    ]],
    [7,"于都梾木油",[
        "http://jlu3s.com:7037/Kejia/ttc/muyou (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/muyou (2).jpg",
    ]],
    [8,"大余金边瑞香",[
        "http://jlu3s.com:7037/Kejia/ttc/da1.jpg",
        "http://jlu3s.com:7037/Kejia/ttc/da2.jpg ",
    ]],
    [9,"龙南江东荸荠",[
        "http://jlu3s.com:7037/Kejia/ttc/biqi (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/biqi (2).jpg",
    ]],
    [10,"寻乌蜜桔",[
        "http://jlu3s.com:7037/Kejia/ttc/miji (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/miji (2).jpg",
    ]],
    [11,"兴国鱼丝",[
        "http://jlu3s.com:7037/Kejia/ttc/yusi (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/yusi (2).jpg",
    ]],
    [12,"南酸枣糕",[
        "http://jlu3s.com:7037/Kejia/ttc/zaogao (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/zaogao (2).jpg",
    ]],
    [13,"南康甜柚",[
        "http://jlu3s.com:7037/Kejia/ttc/tianyou (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/tianyou (2).jpg",
    ]],
    [14,"石城白莲",[
        "http://jlu3s.com:7037/Kejia/ttc/bailian (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/bailian (2).jpg",
    ]],
    [15,"阳埠腐竹",[
        "http://jlu3s.com:7037/Kejia/ttc/fuzhu (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/fuzhu (2).jpg",
    ]],
    [16,"黄元米果",[
        "http://jlu3s.com:7037/Kejia/ttc/miguo (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/miguo (2).jpg",
    ]],
    [17,"固村三甲酒",[
        "http://jlu3s.com:7037/Kejia/ttc/shuijiu (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/shuijiu (2).jpg",
    ]],
    [18,"酒糟鱼",[
        "http://jlu3s.com:7037/Kejia/ttc/jiuzaoyu1.jpeg",
        "http://jlu3s.com:7037/Kejia/ttc/jiuzaoyu2.jpg ",
    ]],
    [19,"宁都肉丸",[
        "http://jlu3s.com:7037/Kejia/ttc/rouwan (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/rouwan (2).jpg",
    ]],
    [20,"赣南茶油",[
        "http://jlu3s.com:7037/Kejia/ttc/chayou1 (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/chayou1 (2).jpg",
    ]],
    [21,"王母渡红瓜子",[
        "http://jlu3s.com:7037/Kejia/ttc/hongguazi (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/hongguazi (2).jpg",
    ]],
    [22,"会昌豆干",[
        "http://jlu3s.com:7037/Kejia/ttc/dougan (1).jpg",
        "http://jlu3s.com:7037/Kejia/ttc/dougan (2).jpg",
    ]],

    //snack图片
    [1,"禾丰珍珠粉",[
        "http://jlu3s.com:7037/Kejia/snack/image022.png",
        "http://jlu3s.com:7037/Kejia/snack/image024.jpg" ,
    ]],
    [2,"章贡区鱼饼",[
        "http://jlu3s.com:7037/Kejia/snack/image032.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image033.jpg" ,
    ]],
    [3,"上犹包米果",[
        "http://jlu3s.com:7037/Kejia/snack/image032.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image033.jpg" ,
    ]],
    [4,"信丰萝卜饺",[
        "http://jlu3s.com:7037/Kejia/snack/image027.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image028.jpg" ,
    ]],
    [5,"酿豆腐",[
        "http://jlu3s.com:7037/Kejia/snack/image030.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image029.jpg" ,
    ]],
    [6,"南康雪花糕",[
        "http://jlu3s.com:7037/Kejia/snack/image036.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image037.jpg" ,
    ]],
    [7,"南瓜酱",[
        "http://jlu3s.com:7037/Kejia/snack/image014.png",
        "http://jlu3s.com:7037/Kejia/snack/image016.png" ,
    ]],
    [8,"薯粉",[
        "http://jlu3s.com:7037/Kejia/snack/image020.png",
        "http://jlu3s.com:7037/Kejia/snack/image021.jpg" ,
    ]],
    [9,"烫皮",[
        "http://jlu3s.com:7037/Kejia/snack/image034.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image035.jpg" ,
    ]],
    [10,"大余烫皮",[
        "http://jlu3s.com:7037/Kejia/snack/image040.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image041.jpg" ,
    ]],
    [11,"崇义九层皮",[
        "http://jlu3s.com:7037/Kejia/snack/image038.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image039.jpg" ,
    ]],
    [12,"安远三鲜粉",[
        "http://jlu3s.com:7037/Kejia/snack/image025.jpg",
        "http://jlu3s.com:7037/Kejia/snack/image026.jpg" ,
    ]],
    [13,"盐碳豆腐",[
        "http://jlu3s.com:7037/Kejia/snack/image002.png",
    ]],
    [14,"月亮巴",[
        "http://jlu3s.com:7037/Kejia/snack/image003.png",
        "http://jlu3s.com:7037/Kejia/snack/image004.jpg" ,
    ]],
    [15,"油糍",[
        "http://jlu3s.com:7037/Kejia/snack/image012.png",
        "http://jlu3s.com:7037/Kejia/snack/image013.jpg" ,
    ]],
    [16,"烫蛋皮",[
        "http://jlu3s.com:7037/Kejia/snack/image017.png",
        "http://jlu3s.com:7037/Kejia/snack/image019.jpg" ,
    ]],
    [17,"黄元米果",[
        "http://jlu3s.com:7037/Kejia/snack/image006.png",
        "http://jlu3s.com:7037/Kejia/snack/image009.jpg" ,
        "http://jlu3s.com:7037/Kejia/snack/image011.jpg",
    ]],

    //custom图片
    [1,"会昌匾额",[
        "http://jlu3s.com:7037/Kejia/custom/image003.jpg",
    ]],
    [2,"石城灯会",[
        "http://jlu3s.com:7037/Kejia/custom/image005.jpg",
    ]],
    [3,"安远过火炼",[
        "http://jlu3s.com:7037/Kejia/custom/image007.jpg",
    ]],

    [4,"安远上刀山",[
        "http://jlu3s.com:7037/Kejia/custom/image009.jpg",
    ]],
    [5,"崇义舞春牛",[
        "http://jlu3s.com:7037/Kejia/custom/image011.jpg",
    ]],
    [6,"定南客家服饰",[
        "http://jlu3s.com:7037/Kejia/custom/image013.jpg",
    ]],
    [7,"定南客家婚嫁习俗-哭嫁",[
        "http://jlu3s.com:7037/Kejia/custom/image015.jpg",
    ]],
    [8,"赣南客家房屋习俗",[
        "http://jlu3s.com:7037/Kejia/custom/image017.jpg",
    ]],
    [9,"龙南香火龙",[
        "http://jlu3s.com:7037/Kejia/custom/image023.jpg",
    ]],
    [10,"会昌赖公庙会",[
        " http://jlu3s.com:7037/Kejia/custom/image019.jpg",
    ]],
    [11,"南康祭大神",[
        "http://jlu3s.com:7037/Kejia/custom/image027.jpg",
    ]],
    [12,"南康鲤鱼灯",[
        "http://jlu3s.com:7037/Kejia/custom/image029.jpg",
    ]],
    [13,"宁都大沽古教花灯",[
        " http://jlu3s.com:7037/Kejia/custom/image033.jpg",
    ]],
    [14,"宁都石上曾坊桥帮灯",[
        "http://jlu3s.com:7037/Kejia/custom/image035.jpg",
    ]],
    [15,"宁都石上割鸡担灯",[
        "http://jlu3s.com:7037/Kejia/custom/image037.jpg",
    ]],
    [16,"全南香火龙",[
        "http://jlu3s.com:7037/Kejia/custom/image043.jpg",
    ]],
    [17,"龙南杨村龙舟赛",[
        " http://jlu3s.com:7037/Kejia/custom/image025.jpg",
    ]],
    [18,"全南谭坊举人龙",[
        "http://jlu3s.com:7037/Kejia/custom/image039.jpg",
    ]],
    [19,"宁都刘坑竹马灯舞",[
        "http://jlu3s.com:7037/Kejia/custom/image041.jpg",
    ]],
    [20,"上犹客家门匾习俗",[
        "http://jlu3s.com:7037/Kejia/custom/image045.jpg",
    ]],
    [21,"信丰大阿子孙龙",[
        "http://jlu3s.com:7037/Kejia/custom/image047.jpg",
    ]],
    [22,"兴国三僚堪舆文化",[
        "http://jlu3s.com:7037/Kejia/custom/image049.jpg",
    ]],
    [23,"兴国四星望月习俗",[
        "http://jlu3s.com:7037/Kejia/custom/image051.jpg",
    ]],
    [24,"寻乌客家迎故事习俗",[
        "http://jlu3s.com:7037/Kejia/custom/image052.jpg",
    ]],
    [25,"章贡区客家菜",[
        "http://jlu3s.com:7037/Kejia/custom/image054.jpg",
    ]],
    [26,"于都中石民俗",[
        "http://jlu3s.com:7037/Kejia/custom/image053.jpg",
    ]],
    [27,"宁都洛口南云竹篙火龙",[
        " http://jlu3s.com:7037/Kejia/custom/image031.jpg",
    ]],
    [28,"宁都刘坑竹马灯舞",[
        " http://jlu3s.com:7037/Kejia/custom/image041.jpg",
    ]],

    //dish图片

    [1,"赣南小炒鱼",[
        "http://jlu3s.com:7037/Kejia/mcai/gnxcy1.jpg",
        " http://jlu3s.com:7037/Kejia/mcai/gnxcy2.jpg" ,
    ]],
    [2,"兴国四星望月",[
        "http://jlu3s.com:7037/Kejia/mcai/xgsxwy1.jfif",
        "http://jlu3s.com:7037/Kejia/mcai/xgsxwy2.jpg" ,
    ]],
    [3,"宁都三杯鸡",[
        "http://jlu3s.com:7037/Kejia/mcai/ndsbj1.jpeg",
        "http://jlu3s.com:7037/Kejia/mcai/ndsbj2.jpeg" ,
    ]],
    [7,"崇义九层皮",[
        "http://jlu3s.com:7037/Kejia/mcai/cyjcp1.jpg",
        "http://jlu3s.com:7037/Kejia/mcai/cyjcp2.png" ,
    ]],
    [9,"瑞金牛肉汤",[
        "http://jlu3s.com:7037/Kejia/mcai/rjnrt1.jpg",
        "http://jlu3s.com:7037/Kejia/mcai/rjnrt2.jpg" ,
    ]],
    [10,"兴国鱼丝",[
        "http://jlu3s.com:7037/Kejia/mcai/xgys1.jfif ",
        "http://jlu3s.com:7037/Kejia/mcai/xgys2.jfif " ,
    ]],
    [12,"荷包胙",[
        "http://jlu3s.com:7037/Kejia/mcai/hbz1.jpg",
        "http://jlu3s.com:7037/Kejia/mcai/hbz2.jpg" ,
    ]],
    [13,"荷包胙",[
        "http://jlu3s.com:7037/Kejia/mcai/hbz1.jpg",
        "http://jlu3s.com:7037/Kejia/mcai/hbz2.jpg" ,
    ]],
    [14,"宁都肉丸",[
        "http://jlu3s.com:7037/Kejia/mcai/ndrw1.jfif",
        "http://jlu3s.com:7037/Kejia/mcai/ndrw2.jfif " ,
    ]],
    [15,"酸菜炒东坡",[
        "http://jlu3s.com:7037/Kejia/mcai/sccdp1.jpg ",
        "http://jlu3s.com:7037/Kejia/mcai/sccdp2.jfif " ,
    ]],
    [16,"定南酸酒鸭",[
        "http://jlu3s.com:7037/Kejia/mcai/dnsjy1.jfif ",
        "http://jlu3s.com:7037/Kejia/mcai/dnsjy2.jfif " ,
    ]],
    [17,"酿豆腐",[
        "http://jlu3s.com:7037/Kejia/mcai/kjndf1.jpg",
        "http://jlu3s.com:7037/Kejia/mcai/kjndf2.jpg" ,
    ]],
    [18,"安远假燕菜",[
        "http://jlu3s.com:7037/Kejia/mcai/ayjyc1.jfif",
        "http://jlu3s.com:7037/Kejia/mcai/ayjyc2.jfif",
    ]],
    [19,"鲫鱼蒸蛋",[
        "http://jlu3s.com:7037/Kejia/mcai/jyzd1.jfif",
        "http://jlu3s.com:7037/Kejia/mcai/jyzd2.jpg" ,
    ]],
    [20,"南安板鸭",[
        "http://jlu3s.com:7037/Kejia/mcai/kjndf2.jfif",
        "http://jlu3s.com:7037/Kejia/mcai/naby1.jfif" ,
    ]],
    [21,"生焖鸭",[
        "http://jlu3s.com:7037/Kejia/mcai/smy1.jfif ",
        "http://jlu3s.com:7037/Kejia/mcai/smy2.jfif " ,
    ]],
    //attractions图片
    [1, "共和国摇篮景区",[
        "http://jlu3s.com:7037/Kejia/scenery/ghg.jpg",
    ]],
    [2,"通天寨",[
        "http://jlu3s.com:7037/Kejia/scenery/ttz1.jpg",
        "http://jlu3s.com:7037/Kejia/scenery/ttz2.jpg",
    ]],
    [3,"汉仙岩",[
        "http://jlu3s.com:7037/Kejia/scenery/hxy.jpg",
    ]],
    [4,"于都屏山景区",[
        "http://jlu3s.com:7037/Kejia/scenery/yd.jpg",
    ]],
    [5,"叶坪旅游景区",[
        "http://jlu3s.com:7037/Kejia/scenery/yp.jpg",
    ]],
    [6,"通天岩景区",[
        "http://jlu3s.com:7037/Kejia/scenery/tty.jpg",
    ]],
    [7,"客家文化城",[
        "http://jlu3s.com:7037/Kejia/scenery/kjwhc1.jpg",
        "http://jlu3s.com:7037/Kejia/scenery/kjwhc2.jpg",
    ]],
    [8,"定南围屋",[
        "http://jlu3s.com:7037/Kejia/scenery/dnww.jpg",
    ]],
    [9,"定南九曲河",[
        "http://jlu3s.com:7037/Kejia/scenery/dnjqh.jpg",
    ]],
    [10,"明骏九曲度假村",[
        "http://jlu3s.com:7037/Kejia/scenery/mjjq.jpg",
    ]],
    [11,"云石山",[
        "http://jlu3s.com:7037/Kejia/scenery/yss.jpg",
    ]],
    [12,"二苏大会旧址",[
        "http://jlu3s.com:7037/Kejia/scenery/esdhjz.jpg",
    ]],
    [13,"革命烈士纪念馆",[
        "http://jlu3s.com:7037/Kejia/scenery/gmls.jpg",
    ]],
    [14,"瑞金红井",[
        "http://jlu3s.com:7037/Kejia/scenery/rjhj.jpg",
    ]],
    [15,"古浮桥",[
        "http://jlu3s.com:7037/Kejia/scenery/gfq.jpg",
    ]],
    [16,"三僚风水文化景区",[
        "http://jlu3s.com:7037/Kejia/scenery/slfs.jpg",
    ]],
    [17,"上堡梯田",[
        "http://jlu3s.com:7037/Kejia/scenery/sbtt.jpg",
    ]],
    [18,"聂都溶洞",[
        "http://jlu3s.com:7037/Kejia/scenery/ndrd.jpg",
    ]],
    [19,"灶儿巷",[
        "http://jlu3s.com:7037/Kejia/scenery/zaoerxiang.jpg",
    ]],
    [20,"赣州古城墙",[
        "http://jlu3s.com:7037/Kejia/scenery/gzgcq.jpg",
    ]],
    [21,"关西客家围屋",[
        "http://jlu3s.com:7037/Kejia/scenery/gxkjww.jpg",
    ]],

];


const resultIcon = {
    location_green:''
    ,location_blue:"",

};

//属性查询
const attrQuery = {
    //map1测试页面
    "map1": [
        {
            mIP:'jlu3s.com'
            ,mPort:'7035'
            ,layerName: "gn_dish"   //IGServer上发布的实际名称
            ,lyrIndex:1  //从0开始
            ,resultIcon:resultIcon.location_green
            ,layerTitle:''
        }
    ],

};

//几何空间查询
const geometryQuery = {
    //map1测试页面
    "map1": [
        {
            mIP:'jlu3s.com'
            ,mPort:'7035'
            ,layerName: "gn_snack"   //IGServer上发布的实际名称
            ,lyrIndex:1  //从0开始
            ,resultIcon:resultIcon.location_blue
            ,layerTitle:''
        }
    ],

};

//缓冲区分析
const bufferAnalysis = {
    //map1测试页面
    "map1": [
        {
            bufferResultBaseUrl:'gdbp://MapGisLocal/TempAnalysisRusult/sfcls/' //缓存结果图层的基地址
            ,mIP:'jlu3s.com'
            ,mPort:'7035'
            ,leftRad:10000 //（单圈）缓冲时要素左侧缓冲半径,本项目中单位为m
            ,rightRad:10000 //（单圈）缓冲时要素左侧缓冲半径,本项目中单位为m
            ,radiusStr:'1000,5000,7000,10000' //（多圈）缓冲分析各圈的缓冲半径（可设3层或4层），本项目针对投影米坐标
            ,srcInfo:'gdbp://MapGisLocal/KJ_ZHONG/sfcls/赣南名菜' //要进行分析的工作图层
            ,singleResultPrefix:'KJ_single_buffer_'  //（单圈）缓冲区结果图层的前缀
            ,mulResultPrefix:'KJ_mul_buffer_'  //（多圈）缓冲区结果图层的前缀
            ,mExtent:[12680206.554277513,2812952.111504088,12984878.80503216,3141822.257129459]  //工作区范围，一般为工作图层的坐标范围
        },
    ],

};

//距离查询
const distanceQuery = {
    //土特产
    "local": [
        {
            queryUrl: "http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
            ,layerName: "土特产@土特产"
            ///,attributeFilter: "SmUserID=0"
            ,distance: 1000, //查询的距离范围
        }
    ],

};

//热力图分析
const heatMapAnalyst = {
    //土特产
    "local": [
        {
            queryUrl: "http://jlu3s.com:7030/iserver/services/map-GanNanKeJiaTuTeChan/rest/maps/tutechan?prjCoordSys=%7B%22epsgCode%22:3857%7D"
            , layerName: "土特产@土特产"
            , attributeFilter: "SmUserID=0"
            , dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
            , featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
        }
    ],

};

// (数据集)泰森多边形分析
const thiessenAnalyst = {
    //土特产
    "local": [
        {
            queryUrl: "http://jlu3s.com:7030/iserver/services/spatialAnalysis-jyb_jg/restjsr/spatialanalyst"
            , layerName: "jyb_jg@jyb_jg"
            , attributeFilter: "SmUserID=0"
            , dataProjection: 'EPSG:4326'  //服务的原始坐标系（以制图时设定的为准）
            , featureProjection: 'EPSG:3857' //由于咱们的地图都用3857，所以此项固定为3857即可
        }
    ],

};



/**
 * 整体输出配置对象
 */
const custom_config = {
    mapCtrlTools
    ,layersDataByFilter
    ,mapParams
    ,featurePics
    ,spatialQueryConditions
    ,attrQuery
    ,geometryQuery
    ,bufferAnalysis
    ,distanceQuery
    ,heatMapAnalyst
    ,thiessenAnalyst
}
